package com.huabo.fxgl.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.List;

/**
 * <p>
 * 
 * </p>
 *
 * @author LiYe
 * @since 2022-08-02
 */
@Data
@TableName(value = "TBL_YY_COMPANY", resultMap = "RM_YY_COMPANY")
public class YyCompany implements Serializable {

    private static final long serialVersionUID = 1L;
    //公司ID
    @TableId()
    private BigDecimal companyid;
    //公司名称
    private String companyname;
    //
    @TableField(value = "team.teamid", exist = false)
    private YyXdfTeam team;
    //创建时间
    private LocalDateTime createdate;
    //创建人
    @TableField(value = "staff.staffid", exist = false)
    private Staff staff;
    //组织机构
    @TableField(value = "organization.orgid", exist = false)
    private Organization organization;
    //报告
    @TableField(value = "report.reportid", exist = false)
    private YyReportModel report;
    //风险类别
    private String fxtype;
    //状态
    private BigDecimal cstatus;
    //监控外部数据列表
    @TableField(exist = false)
    private List<YyPrice> priceList;

}
